package com.train.utils;


//设置验证码
public class CodeGenerate {
    public static int generateCode(){
        //生成随机数
        double v = Math.random() * 1000000;
        int code=(int)v;
        System.out.println(code);
        return code;

    }
}
